<?php
/**
 * logout controller
 * @package app-member_controller
 */
load_controller('/loggeduser');
/**
 * logout controller
 * @author pandajingjing
 * @package app-member_controller
 */
class logoutcontroller extends loggedusercontroller{

	function doRequest(){
		$this->setCookie('mauthcode','',-1);
		load_controller('/home/home');
		$this->redirectURL(home_homecontroller::getURL());
		return '/logout';
	}

	/**
	 * 获取访问该控制器的路径
	 */
	static function getURL($p_strAction='',$p_arrParam=array(),$p_bolSecure=false,$p_strPre='/logout'){
		return parent::getURL('/logout',$p_strAction,$p_arrParam);
	}
}